From b398e1e361f9fe07672b5f82b43abf498e46dcc5 Mon Sep 17 00:00:00 2001 From: OpenJDK Team Date: Thu, 24 Sep 2026 19:52:19 +1200 Subject: [PATCH] mips # DP: Untested patch suggested to fix #983878 # DP: Untested patch suggested to fix #983878 Gbp-Pq: Name mips.diff --- src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c index 5f81241b7..8ee42b571 100644 --- a/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c +++ b/src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c @@ -226,7 +226,7 @@ static statx_func* my_statx_func = NULL; /** * fstatat missing from glibc on Linux. */ -#if defined(__linux__) && (defined(__i386) || defined(__arm__)) +#if defined(__linux__) && (defined(__i386) || defined(__arm__) || (defined(__mips__) && !defined(__mips64))) #define FSTATAT64_SYSCALL_AVAILABLE static int fstatat_wrapper(int dfd, const char *path, struct stat *statbuf, int flag) -- 2.39.5